// MOVE: up
fun foo() {
    val x = ""

    fun bar() {

    }<caret>

    val y = ""
}